libxl: libxl__xs_write format string should be const.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 24 May 2011 16:12:27 +0000 (17:12 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 24 May 2011 16:12:27 +0000 (17:12 +0100)
commit048e71cd85e5ab1a91c60a53745c7706004cf3d0
tree589d47c0c6a35eef41ec42c39422847eff3a10d7
parentbdf5d459953372a6e0347258ebc15ec58af0bf7d
libxl: libxl__xs_write format string should be const.

George Dunlap reports that gcc 4.4.3 complains:
  libxl_dm.c: In function libxl__create_device_mode:
  libxl_dm.c:776: error: format not a string literal and no format arguments
And indeed the format argument here is a char * from libxl__domain_bios().

Make the argument to libxl__xs_write a const char * and change
libxl__domain_bios to return a const char too.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dm.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_xshelp.c